package com.utils;

/**
 * @author xiaoly
 *  日期返回的对象类
 */
public class LunarCalendar {
    private int y;
    private int m;
    private int d;
    private int lunarYear;
    private int lunarMonth;
    private int lunarDay;
    private String animal;

    public int getLunarYear() {
        return lunarYear;
    }

    public void setLunarYear(int lunarYear) {
        this.lunarYear = lunarYear;
    }

    public int getLunarMonth() {
        return lunarMonth;
    }

    public void setLunarMonth(int lunarMonth) {
        this.lunarMonth = lunarMonth;
    }

    public int getLunarDay() {
        return lunarDay;
    }

    public void setLunarDay(int lunarDay) {
        this.lunarDay = lunarDay;
    }

    public String getAnimal() {
        return animal;
    }

    public void setAnimal(String animal) {
        this.animal = animal;
    }

    public String getiMonthCn() {
        return iMonthCn;
    }

    public void setiMonthCn(String iMonthCn) {
        this.iMonthCn = iMonthCn;
    }

    public String getiDayCn() {
        return iDayCn;
    }

    public void setiDayCn(String iDayCn) {
        this.iDayCn = iDayCn;
    }

    public int getcYear() {
        return cYear;
    }

    public void setcYear(int cYear) {
        this.cYear = cYear;
    }

    public int getcMonth() {
        return cMonth;
    }

    public void setcMonth(int cMonth) {
        this.cMonth = cMonth;
    }

    public int getcDay() {
        return cDay;
    }

    public void setcDay(int cDay) {
        this.cDay = cDay;
    }

    public String getGzYear() {
        return gzYear;
    }

    public void setGzYear(String gzYear) {
        this.gzYear = gzYear;
    }

    public String getGzMonth() {
        return gzMonth;
    }

    public void setGzMonth(String gzMonth) {
        this.gzMonth = gzMonth;
    }

    public String getGzDay() {
        return gzDay;
    }

    public void setGzDay(String gzDay) {
        this.gzDay = gzDay;
    }

    public boolean isToday() {
        return isToday;
    }

    public void setToday(boolean today) {
        isToday = today;
    }

    public boolean isLeap() {
        return isLeap;
    }

    public void setLeap(boolean leap) {
        isLeap = leap;
    }

    public int getnWeek() {
        return nWeek;
    }

    public void setnWeek(int nWeek) {
        this.nWeek = nWeek;
    }

    public String getNcWeek() {
        return ncWeek;
    }

    public void setNcWeek(String ncWeek) {
        this.ncWeek = ncWeek;
    }

    public boolean isTerm() {
        return isTerm;
    }

    public void setTerm(boolean term) {
        isTerm = term;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getAstro() {
        return astro;
    }

    public void setAstro(String astro) {
        this.astro = astro;
    }

    private String iMonthCn;
    private String iDayCn;
    private int cYear;
    private int cMonth;
    private int cDay;
    private String gzYear;
    private String gzMonth;
    private String gzDay;
    private boolean isToday;
    private boolean isLeap;
    private int nWeek;
    private String ncWeek;
    private boolean isTerm;
    private String term;
    private String astro;

    // 省略构造函数、getter和setter方法

    public LunarCalendar() {
        // 初始化
    }

    public void setDate(int y, int m, int d) {
        this.y = y;
        this.m = m;
        this.d = d;
    }

    public void setLunarDate(int lunarYear, int lunarMonth, int lunarDay) {
        this.lunarYear = lunarYear;
        this.lunarMonth = lunarMonth;
        this.lunarDay = lunarDay;
    }

}
